package client;

//@Component("clientAFallback")
public class ClientAFallback implements ClientA {

    @Override
    public String getName() {
        System.out.println("getName的Hystrix降级方法");
        return "getName的Hystrix降级方法";
    }

    @Override
    public String getNiceName(String name) {
        System.out.println("getNiceName的Hystrix降级方法");
        return "getNiceName的Hystrix降级方法";
    }

    @Override
    public String timeoutMethod() {
        System.out.println("timeoutMethod的Hystrix降级方法");
        return "timeoutMethod的Hystrix降级方法";
    }
}
